import http from '@/services/http';

export function getStatistics(params: WelcomeApi.Params) {
  return http.post<Requestor.Response<WelcomeApi.StatisticsInfoResponse>>(
    '/api/Customer/get/personnel/efficiency/statistics',
    {
      data: params,
    },
  );
}
export function getStatisticsList(params: WelcomeApi.Params) {
  return http.post<Requestor.Response<WelcomeApi.StatisticsListInfoResponse[]>>(
    '/api/Customer/get/user/personnel/efficiency/statistics',
    {
      data: params,
    },
  );
}
